Skip to content

Add admin operations for cache lifecycle and schema management#142

Open
tristantarrant wants to merge 1 commit intomainfrom
141/admin-operations
Open

Add admin operations for cache lifecycle and schema management#142
tristantarrant wants to merge 1 commit intomainfrom
141/admin-operations

Conversation

@tristantarrant
Copy link
Copy Markdown
Member

Summary

  • Add admin property to the client with operations for cache lifecycle (create, getOrCreate, remove, names), indexing (reindex, updateIndexSchema), configuration (updateConfigurationAttribute), and Protobuf schema management (registerSchema, removeSchema)
  • All operations use Hot Rod exec opcode (0x2B) with predefined @@-prefixed server tasks matching the Infinispan 16.x server API
  • Include TypeScript definitions and integration tests

Closes #141

Test plan

  • npx jasmine spec/infinispan_admin_spec.js — 6 specs, 0 failures
  • npx jasmine spec/infinispan_local_spec.js — 36 specs, 0 failures (no regressions)
  • npx eslint lib/infinispan.js spec/infinispan_admin_spec.js — clean

@tristantarrant tristantarrant force-pushed the 141/admin-operations branch 3 times, most recently from cacd190 to 3da0794 Compare April 9, 2026 16:28
Implement Hot Rod admin operations using exec opcode (0x2B) with
predefined @@-prefixed server tasks. Supports cache create, getOrCreate,
remove, names, reindex, updateIndexSchema, updateConfigurationAttribute,
and Protobuf schema register/remove via @@schemas@createOrUpdate and
@@schemas@delete tasks.

Also adds AsciiDoc documentation for admin operations and distributed
counters, updates Node.js version requirements, and adds a doc
generation script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Hot Rod admin operations (cache lifecycle, schema management, reindexing)

1 participant